home *** CD-ROM | disk | FTP | other *** search
/ J-Mac Electronics & Home Comics / J-Mac Electronics & Home Comics.iso / mac / J-MAC / G13F / G13_OBIH.Dxr / 00068.ls < prev    next >
Encoding:
Text File  |  1998-01-22  |  4.0 KB  |  213 lines

  1. global i, gno, jumplistkeyg, jumplistkeyz
  2.  
  3. on startMovie
  4.   set mycursor to [1, 2]
  5.   repeat with i = 11 to 18
  6.     set the cursor of sprite i to mycursor
  7.   end repeat
  8.   set jumplistkeyg to ["G1", "G2", "G3"]
  9.   set jumplistkeyz to ["Z1", "Z2", "Z3"]
  10.   set volset to the soundLevel
  11.   if the soundEnabled = 0 then
  12.     set the soundEnabled to 1
  13.   end if
  14. end
  15.  
  16. on donextg
  17.   if (gno + 1) = 4 then
  18.     set gno to 0
  19.   end if
  20.   go(getAt(jumplistkeyg, gno + 1))
  21. end
  22.  
  23. on dobackg
  24.   if (gno - 1) = 0 then
  25.     set gno to 4
  26.   end if
  27.   go(getAt(jumplistkeyg, gno - 1))
  28. end
  29.  
  30. on donextz
  31.   if (gno + 1) = 4 then
  32.     set gno to 0
  33.   end if
  34.   go(getAt(jumplistkeyz, gno + 1))
  35. end
  36.  
  37. on dobackz
  38.   if (gno - 1) = 0 then
  39.     set gno to 4
  40.   end if
  41.   go(getAt(jumplistkeyz, gno - 1))
  42. end
  43.  
  44. on doexit
  45.   sound stop 1
  46.   go("M1", "@::JMACMENU")
  47. end
  48.  
  49. on crtopen
  50.   puppetSprite(6, 1)
  51.   repeat while the stillDown
  52.     set the memberNum of sprite 6 to 12
  53.     updateStage()
  54.   end repeat
  55.   set the memberNum of sprite 6 to 11
  56.   updateStage()
  57.   puppetSprite(6, 0)
  58. end
  59.  
  60. on crtclose
  61.   puppetSprite(7, 1)
  62.   repeat while the stillDown
  63.     set the memberNum of sprite 7 to 14
  64.     updateStage()
  65.   end repeat
  66.   set the memberNum of sprite 7 to 13
  67.   updateStage()
  68.   puppetSprite(7, 0)
  69. end
  70.  
  71. on crtnext
  72.   puppetSprite(20, 1)
  73.   repeat while the stillDown
  74.     set the memberNum of sprite 20 to 20
  75.     updateStage()
  76.   end repeat
  77.   set the memberNum of sprite 20 to 19
  78.   updateStage()
  79.   puppetSprite(20, 0)
  80.   puppetSprite(1, 0)
  81. end
  82.  
  83. on crtback
  84.   puppetSprite(21, 1)
  85.   repeat while the stillDown
  86.     set the memberNum of sprite 21 to 22
  87.     updateStage()
  88.   end repeat
  89.   set the memberNum of sprite 21 to 21
  90.   updateStage()
  91.   puppetSprite(21, 0)
  92.   puppetSprite(1, 0)
  93. end
  94.  
  95. on crtnextz1
  96.   puppetSprite(20, 1)
  97.   repeat while the stillDown
  98.     set the memberNum of sprite 20 to 33
  99.     updateStage()
  100.   end repeat
  101.   set the memberNum of sprite 20 to 32
  102.   updateStage()
  103.   puppetSprite(20, 0)
  104.   puppetSprite(1, 0)
  105. end
  106.  
  107. on crtbackz1
  108.   puppetSprite(21, 1)
  109.   repeat while the stillDown
  110.     set the memberNum of sprite 21 to 35
  111.     updateStage()
  112.   end repeat
  113.   set the memberNum of sprite 21 to 34
  114.   updateStage()
  115.   puppetSprite(21, 0)
  116.   puppetSprite(1, 0)
  117. end
  118.  
  119. on crtnextz2
  120.   puppetSprite(20, 1)
  121.   repeat while the stillDown
  122.     set the memberNum of sprite 20 to 51
  123.     updateStage()
  124.   end repeat
  125.   set the memberNum of sprite 20 to 50
  126.   updateStage()
  127.   puppetSprite(20, 0)
  128.   puppetSprite(1, 0)
  129. end
  130.  
  131. on crtbackz2
  132.   puppetSprite(21, 1)
  133.   repeat while the stillDown
  134.     set the memberNum of sprite 21 to 53
  135.     updateStage()
  136.   end repeat
  137.   set the memberNum of sprite 21 to 52
  138.   updateStage()
  139.   puppetSprite(21, 0)
  140.   puppetSprite(1, 0)
  141. end
  142.  
  143. on crtzoomin
  144.   puppetSprite(23, 1)
  145.   repeat while the stillDown
  146.     set the memberNum of sprite 23 to 26
  147.     updateStage()
  148.   end repeat
  149.   set the memberNum of sprite 23 to 25
  150.   updateStage()
  151.   puppetSprite(23, 0)
  152. end
  153.  
  154. on crtzoomout1
  155.   puppetSprite(23, 1)
  156.   repeat while the stillDown
  157.     set the memberNum of sprite 23 to 39
  158.     updateStage()
  159.   end repeat
  160.   set the memberNum of sprite 23 to 38
  161.   updateStage()
  162.   puppetSprite(23, 0)
  163.   puppetSprite(1, 0)
  164. end
  165.  
  166. on crtzoomout2
  167.   puppetSprite(23, 1)
  168.   repeat while the stillDown
  169.     set the memberNum of sprite 23 to 57
  170.     updateStage()
  171.   end repeat
  172.   set the memberNum of sprite 23 to 56
  173.   updateStage()
  174.   puppetSprite(23, 0)
  175.   puppetSprite(1, 0)
  176. end
  177.  
  178. on crtexit
  179.   puppetSprite(22, 1)
  180.   repeat while the stillDown
  181.     set the memberNum of sprite 22 to 24
  182.     updateStage()
  183.   end repeat
  184.   set the memberNum of sprite 22 to 23
  185.   updateStage()
  186.   puppetSprite(22, 0)
  187.   puppetSprite(1, 0)
  188. end
  189.  
  190. on crtexit1
  191.   puppetSprite(22, 1)
  192.   repeat while the stillDown
  193.     set the memberNum of sprite 22 to 37
  194.     updateStage()
  195.   end repeat
  196.   set the memberNum of sprite 22 to 36
  197.   updateStage()
  198.   puppetSprite(22, 0)
  199.   puppetSprite(1, 0)
  200. end
  201.  
  202. on crtexit2
  203.   puppetSprite(22, 1)
  204.   repeat while the stillDown
  205.     set the memberNum of sprite 22 to 55
  206.     updateStage()
  207.   end repeat
  208.   set the memberNum of sprite 22 to 54
  209.   updateStage()
  210.   puppetSprite(22, 0)
  211.   puppetSprite(1, 0)
  212. end
  213.